<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>

<f:view locale="#{languageDetails.locale}">
	<h:form>
		<h:outputText value="#{msg.login}" />:<h:inputText 
			value="#{mainBean.login}"  required="true"
          requiredMessage="#{messages.login_enter_login}" />
		<br />
		<h:outputText value="#{msg.password}" />:<h:inputText
			value="#{mainBean.password}"  required="true"
          requiredMessage="#{messages.login_enter_password}" />
		<br />
		<h:commandButton action="#{mainBean.doValidate}" value="#{msg.loginbutton}" />
		<a href="language.jsf"><h:outputText value="#{msg.change_language}"/></a>
	</h:form>
</f:view>
</body>
</html>